#pragma once
#include "filter.h"
class RefinePoints :
	public Filter
{
public:
	enum Inputs {	INPUT_DEPTH_MAP = 0,
					INPUT_POINT_2D_1 = 1,
					INPUT_POINT_2D_2 = 2,
					INPUT_POINT_2D_3 = 3
	};

	enum Outputs {	OUTPUT_DEPTH_MAP = 0 };

	void Process();
	void start(const cv::Point2i &startPt, std::list<cv::Point2i> &result, std::list<cv::Point2i> &points, cv::Mat &mask);

	RefinePoints(int pointsCount);
	virtual ~RefinePoints(void);

private:
	int pointsCount;
};

